<?php
    $arr=[1,2,3,4,5,6,7,8,9];
    $filp=array_reverse($arr);
    // print_r($arr);
    // print_r($filp);
    foreach($arr as $v){
        echo $v;
    }
    echo "<br>";
    foreach($filp as $v){
        echo $v;
    }
?>